import request from '@/plugin/axios'

export function LOGIN(data) {
  return request({
    url: '/auth/login',
    method: 'post',
    data
  })
}

export function USER_INFO() {
  return request({
    url: '/auth/userInfo',
    method: 'GET'
  })
}
